package model;

/**
 * @Author: 燕子豪
 * @Date: 2023/1/2 11:06
 */
public class RaceMsg {
    private Race race;
    private Company company;

    public RaceMsg(Race race, Company company) {
        this.race = race;
        this.company = company;
    }

    public RaceMsg() {
    }

    @Override
    public String toString() {
        return "RaceMsg{" +
                "race=" + race +
                ", company=" + company +
                '}';
    }

    public Race getRace() {
        return race;
    }

    public void setRace(Race race) {
        this.race = race;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }
}
